package com.sz.model;

import org.springframework.data.annotation.Id;
import tk.mybatis.mapper.annotation.KeySql;

public class OnlineBankCard {
    public OnlineBankCard() {
    }

    public OnlineBankCard(Integer obcId, Integer obId, String obcAccount, Long obcBalance, String payPwd) {
        this.obcId = obcId;
        this.obId = obId;
        this.obcAccount = obcAccount;
        this.obcBalance = obcBalance;
        this.payPwd = payPwd;
    }

    @Override
    public String toString() {
        return "OnlineBankCard{" +
                "obcId=" + obcId +
                ", obId=" + obId +
                ", obcAccount='" + obcAccount + '\'' +
                ", obcBalance=" + obcBalance +
                ", payPwd='" + payPwd + '\'' +
                '}';
    }

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column online_bank_card.obc_id
     *
     * @mbggenerated
     */
    @Id
    @KeySql(useGeneratedKeys = true)
    private Integer obcId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column online_bank_card.ob_id
     *
     * @mbggenerated
     */
    private Integer obId;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column online_bank_card.obc_account
     *
     * @mbggenerated
     */
    private String obcAccount;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column online_bank_card.obc_balance
     *
     * @mbggenerated
     */
    private Long obcBalance;

    /**
     * This field was generated by MyBatis Generator.
     * This field corresponds to the database column online_bank_card.pay_pwd
     *
     * @mbggenerated
     */
    private String payPwd;

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column online_bank_card.obc_id
     *
     * @return the value of online_bank_card.obc_id
     *
     * @mbggenerated
     */
    public Integer getObcId() {
        return obcId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column online_bank_card.obc_id
     *
     * @param obcId the value for online_bank_card.obc_id
     *
     * @mbggenerated
     */
    public void setObcId(Integer obcId) {
        this.obcId = obcId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column online_bank_card.ob_id
     *
     * @return the value of online_bank_card.ob_id
     *
     * @mbggenerated
     */
    public Integer getObId() {
        return obId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column online_bank_card.ob_id
     *
     * @param obId the value for online_bank_card.ob_id
     *
     * @mbggenerated
     */
    public void setObId(Integer obId) {
        this.obId = obId;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column online_bank_card.obc_account
     *
     * @return the value of online_bank_card.obc_account
     *
     * @mbggenerated
     */
    public String getObcAccount() {
        return obcAccount;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column online_bank_card.obc_account
     *
     * @param obcAccount the value for online_bank_card.obc_account
     *
     * @mbggenerated
     */
    public void setObcAccount(String obcAccount) {
        this.obcAccount = obcAccount == null ? null : obcAccount.trim();
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column online_bank_card.obc_balance
     *
     * @return the value of online_bank_card.obc_balance
     *
     * @mbggenerated
     */
    public Long getObcBalance() {
        return obcBalance;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column online_bank_card.obc_balance
     *
     * @param obcBalance the value for online_bank_card.obc_balance
     *
     * @mbggenerated
     */
    public void setObcBalance(Long obcBalance) {
        this.obcBalance = obcBalance;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method returns the value of the database column online_bank_card.pay_pwd
     *
     * @return the value of online_bank_card.pay_pwd
     *
     * @mbggenerated
     */
    public String getPayPwd() {
        return payPwd;
    }

    /**
     * This method was generated by MyBatis Generator.
     * This method sets the value of the database column online_bank_card.pay_pwd
     *
     * @param payPwd the value for online_bank_card.pay_pwd
     *
     * @mbggenerated
     */
    public void setPayPwd(String payPwd) {
        this.payPwd = payPwd == null ? null : payPwd.trim();
    }
}